package com.ktjy.ktmall.service.impl;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ktjy.ktmall.mapper.AttrMapper;
import com.ktjy.ktmall.domain.Attr;
import com.ktjy.ktmall.service.IAttrService;

/**
 * 规格属性Service业务层处理
 *
 * @author ktjy
 * @date 2025-01-13
 */
@Service
public class AttrServiceImpl extends ServiceImpl<AttrMapper, Attr>
        implements IAttrService {
    @Autowired
    private AttrMapper attrMapper;

    /**
     * 查询规格属性列表
     *
     * @param attr 规格属性
     * @return 规格属性
     */
    @Override
    public List<Attr> selectAttrList(Attr attr)
    {
        return attrMapper.selectAttrList(attr);
    }
}